package com.procurement.orders.service;

import java.util.List;
import com.procurement.orders.domain.PcmApplicationDetail;

/**
 * 申请明细Service接口
 * 
 * @author liyang
 * @date 2023-12-07
 */
public interface IPcmApplicationDetailService 
{
    /**
     * 查询申请明细
     * 
     * @param detailId 申请明细主键
     * @return 申请明细
     */
    public PcmApplicationDetail selectPcmApplicationDetailByDetailId(Long detailId);

    /**
     * 查询申请明细列表
     * 
     * @param pcmApplicationDetail 申请明细
     * @return 申请明细集合
     */
    public List<PcmApplicationDetail> selectPcmApplicationDetailList(PcmApplicationDetail pcmApplicationDetail);

    /**
     * 新增申请明细
     * 
     * @param pcmApplicationDetail 申请明细
     * @return 结果
     */
    public int insertPcmApplicationDetail(PcmApplicationDetail pcmApplicationDetail);

    /**
     * 修改申请明细
     * 
     * @param pcmApplicationDetail 申请明细
     * @return 结果
     */
    public int updatePcmApplicationDetail(PcmApplicationDetail pcmApplicationDetail);

    /**
     * 批量删除申请明细
     * 
     * @param detailIds 需要删除的申请明细主键集合
     * @return 结果
     */
    public int deletePcmApplicationDetailByDetailIds(Long[] detailIds);

    /**
     * 删除申请明细信息
     * 
     * @param detailId 申请明细主键
     * @return 结果
     */
    public int deletePcmApplicationDetailByDetailId(Long detailId);
}
